#include <cstdio>
class A {
public:
	char a;
	char b;
	float d;
	long c;
};

class B {
public:
	char b;
	long c;
	float d;
	char a;
};

int main(int argc, const char *argv[])
{
	printf("%d\n", sizeof(char));
	printf("%d\n", sizeof(long));
	printf("%d\n", sizeof(float));
	printf("%d\n", sizeof(A));
	printf("%d\n", sizeof(B));
	
	return 0;
}
